package com.sophon.pattern.strategy;

/**
 * 目前市面上存在的快递公司
 * @author Andy G
 *
 */
public enum LogisticsCompany {
	CAINIAO() {
		public Delivery get() {
			return new CaiNiao();
		}
	},
	SHUNFENG() {
		public Delivery get() {
			return new ShunFeng();
		}
	},
	JINGXI() {
		public Delivery get() {
			return new JingXi();
		}
	};

	public abstract Delivery get();
}
